package me.hekr.iotos.api.dto;
//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//


import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import java.io.Serializable;
import java.util.TreeSet;
import me.hekr.iotos.api.enums.FrameType;

@JsonInclude(Include.NON_NULL)
public class ModelCmdDTO implements Serializable {
  private static final long serialVersionUID = -6040947199844685210L;
  protected String name;
  protected String cmd;
  protected FrameType frameType;
  protected TreeSet<String> params;
  protected String desc;
  protected TreeSet<Tag> tags;

  public TreeSet<String> getParams() {
    return this.params == null ? new TreeSet() : this.params;
  }

  public ModelCmdDTO() {
  }

  public String getName() {
    return this.name;
  }

  public String getCmd() {
    return this.cmd;
  }

  public FrameType getFrameType() {
    return this.frameType;
  }

  public String getDesc() {
    return this.desc;
  }

  public TreeSet<Tag> getTags() {
    return this.tags;
  }

  public void setName(String name) {
    this.name = name;
  }

  public void setCmd(String cmd) {
    this.cmd = cmd;
  }

  public void setFrameType(FrameType frameType) {
    this.frameType = frameType;
  }

  public void setParams(TreeSet<String> params) {
    this.params = params;
  }

  public void setDesc(String desc) {
    this.desc = desc;
  }

  public void setTags(TreeSet<Tag> tags) {
    this.tags = tags;
  }


}
